Skip to content

splash: dial the backend that is actually running - #8

Merged
tdwd merged 1 commit into
mainfrom
splash-dial-string
Sep 8, 2026
Merged

splash: dial the backend that is actually running#8
tdwd merged 1 commit into
mainfrom
splash-dial-string

Conversation

@tdwd

@tdwd tdwd commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

The boot screen printed ATDT 1-800-CLAUDE on every session, codex included.

Why two sweeps missed it

Both grepped for [Cc]laude. The string is all caps, so the pattern could not match it — the one SHOUTED mention in the program was precisely the one a case-sensitive sweep cannot see. Redone case-insensitively across every string literal, this was the only remaining hit.

The lesson is written into the test rather than a comment nobody re-reads.

Fix

The line joins the rest of the agent-named copy in agentname.go, so there is still one place to change and a third backend gets it for free. ATDT is the Hayes modem dial command, so the joke survives — it just dials the right number now.

Verified

go vet, full suite. Two tests: the helper per backend, and that the rendered splash actually contains the line, so the helper cannot drift from what is drawn.

The boot screen printed "ATDT 1-800-CLAUDE" on every session, codex included.

It survived two sweeps that were looking straight at it, because both grepped
for [Cc]laude and the string is all caps. The lesson is in the test: a sweep for
a name has to be case-insensitive, or the one SHOUTED mention is exactly the one
it cannot see.

The line joins the rest of the copy that names the agent, in agentname.go, so
there is still one place to change and a third backend gets it for free.
@tdwd
tdwd merged commit e55cb44 into main Sep 8, 2026
1 check passed
@tdwd
tdwd deleted the splash-dial-string branch September 8, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant